//
//  MPShareViewCell.m
//  MobileProject
//
//  Created by caiqilin on 2017/6/14.
//  Copyright © 2017年 caiqilin. All rights reserved.
//

#import "MPShareViewCell.h"

@implementation MPShareViewCell
+ (instancetype)cellWithTableView:(UITableView *)tableView {
    static NSString *ID = @"MPShareViewCell";
    MPShareViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    
    if (cell == nil) {
        
        cell = [[[NSBundle mainBundle] loadNibNamed:@"MPShareViewCell" owner:nil options:nil] lastObject];
    }
    
    return cell;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    [_middleBtn.titleLabel setNumberOfLines:0];
    [_middleBtn.titleLabel setTextAlignment:NSTextAlignmentCenter];
    _middleBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
}

@end
